import React from 'react';
import { Button } from 'antd';

// 页面A组件，作为切换动画的底层页面之一
const PageA = () => (
  <div
    style={{
      width: '100vw',
      height: '100vh',
      background: '#e3f2fd',
      display: 'flex',
      alignItems: 'center',
      justifyContent: 'center',
      fontSize: 32,
    }}
  >
    <div>这是页面A</div>
    <div>
      <Button>点击</Button>
    </div>
  </div>
);

export default PageA;
